/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ticketmaster.accounting;

/**
 *
 * @author Wei Liu
 */
public class TaxManager
{
    private static final double PST = 0.07;
    private static final double GST = 0.05;

    public static double calculateTax(double rawCost)
    {
        return calculateGST(rawCost) + calculatePST(rawCost);
    }

    public static double calculateGST(double rawCost)
    {
        return rawCost * GST;
    }

    public static double calculatePST(double rawCost)
    {
        return rawCost * PST;
    }
}
